import request from '@/utils/request'
// 联想菜单
export const suggestionAPI = ({ q }) => {
  return request({
    url: '/v1_0/suggestion',
    params: {
      q
    }
  })
}

// 联想菜单的搜索结果 /v1_0/search
export const searchResultListAPI = ({ q, page = 1 }) => {
  return request({
    url: '/v1_0/search',
    params: {
      q,
      page
    }
  })
}
